package com.lxw.report.engine.dataModel.report;

import java.io.Serializable;
import java.util.List;

/**
 * 报表配置选项(report表的options字段)持久化类
 */

public class ReportOptions implements Serializable {
    /**
     * 维度列合并相同列
     */
    private Boolean mergeSamed=false;
    /**
     * 左侧维度列是否合并相同值
     */
    private Boolean leftDimensionMerged;

    /**
     * 是否启用行号栏
     */
    private Boolean enableLineNumber;

    /**
     * 行号栏宽度
     */
    private Integer lineNumberWidth;
    /**
     * 是否启用合并列
     */
    private Boolean enableVirtualCol;

    /**
     * 合并列配置信息
     */
    private List<ReportVirtualConfig> virtualConfig;
    /**
     * 是否是简单报表
     */
    private Boolean sampled;

    public Boolean getMergeSamed() {
        return mergeSamed;
    }

    public void setMergeSamed(Boolean mergeSamed) {
        this.mergeSamed = mergeSamed;
    }

    public Boolean getLeftDimensionMerged() {
        return leftDimensionMerged;
    }

    public void setLeftDimensionMerged(Boolean leftDimensionMerged) {
        this.leftDimensionMerged = leftDimensionMerged;
    }

    public Boolean getEnableLineNumber() {
        return enableLineNumber;
    }

    public void setEnableLineNumber(Boolean enableLineNumber) {
        this.enableLineNumber = enableLineNumber;
    }

    public Integer getLineNumberWidth() {
        return lineNumberWidth;
    }

    public void setLineNumberWidth(Integer lineNumberWidth) {
        this.lineNumberWidth = lineNumberWidth;
    }

    public Boolean getEnableVirtualCol() {
        return enableVirtualCol;
    }

    public void setEnableVirtualCol(Boolean enableVirtualCol) {
        this.enableVirtualCol = enableVirtualCol;
    }

    public List<ReportVirtualConfig> getVirtualConfig() {
        return virtualConfig;
    }

    public void setVirtualConfig(List<ReportVirtualConfig> virtualConfig) {
        this.virtualConfig = virtualConfig;
    }

    public Boolean getSampled() {
        return sampled;
    }

    public void setSampled(Boolean sampled) {
        this.sampled = sampled;
    }
}
